#include "Template.h"

#include <iostream>
using namespace std;

void DrinkTemplate::Make()
{
    cout << "DrinkTemplate::Make()" << endl;
    BoildWater();
    Brew();
    PourInCup();
    AddSomething();
}

void Coffee::BoildWater()
{
    cout << "Coffee::BoildWater()" << endl;
}

void Coffee::Brew()
{
    cout << "Coffee::Brew()" << endl;
}

void Coffee::PourInCup()
{
    cout << "Coffee::PourInCup()" << endl;
}

void Coffee::AddSomething()
{
    cout << "Coffee::AddSomething()" << endl;
}

void Tea::BoildWater()
{
    cout << "Tea::BoildWater()" << endl;
}

void Tea::Brew()
{
    cout << "Tea::Brew()" << endl;
}

void Tea::PourInCup()
{
    cout << "Tea::PourInCup()" << endl;
}

void Tea::AddSomething()
{
    cout << "Tea::AddSomething()" << endl;
}